[INFO] cloning repository https://github.com/Ruin0x11/midplay-lua
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ruin0x11/midplay-lua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fmidplay-lua", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fmidplay-lua'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edf7e337d6c3dd68229947603217f3edae3eedb3
[INFO] fixing Ruin0x11/midplay-lua against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fmidplay-lua" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ruin0x11/midplay-lua
[INFO] finished tweaking git repo https://github.com/Ruin0x11/midplay-lua
[INFO] tweaked toml for git repo https://github.com/Ruin0x11/midplay-lua written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ruin0x11/midplay-lua on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ruin0x11/midplay-lua already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8
[INFO] running `Command { std: "docker" "start" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   syn v1.0.66 (as host dependency) removed features: visit
[INFO] [stderr] 
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.66
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]     Checking memalloc v0.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking bstr v0.2.15
[INFO] [stderr]    Compiling mlua v0.5.3
[INFO] [stderr]     Checking crossbeam-epoch v0.9.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking alsa v0.4.3
[INFO] [stderr]     Checking midly v0.5.1
[INFO] [stderr]     Checking midir v0.7.0
[INFO] [stderr]     Checking midplay v0.1.0 (https://github.com/Ruin0x11/midiplay-rs?branch=master#5f0bcbc2)
[INFO] [stderr]    Compiling mlua_derive v0.5.0
[INFO] [stderr]     Checking midplay-lua v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.84s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.5.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: midplay-lua v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling syn v1.0.66
[INFO] [stderr]    Compiling mlua_derive v0.5.0
[INFO] [stderr]     Checking mlua v0.5.3
[INFO] [stderr]     Checking midplay-lua v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic_get_ports(lua: &Lua, (): ()) -> LuaResult<LuaTable> {
[INFO] [stdout]    |                           ^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic_get_ports(lua: &Lua, (): ()) -> LuaResult<LuaTable<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout]    |                     ^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic_get_ports(lua: &Lua, (): ()) -> LuaResult<LuaTable> {
[INFO] [stdout]    |                           ^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn generic_get_ports(lua: &Lua, (): ()) -> LuaResult<LuaTable<'_>> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout]    |                     ^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.99s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.5.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   syn v1.0.66 (as host dependency) removed features: visit
[INFO] [stderr] 
[INFO] [stderr]     Checking midplay-lua v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `midplay_lua`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 63 ~ unsafe(fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 |     let native = lua.create_table()?;
[INFO] [stdout] ...
[INFO] [stdout] 78 |     Ok(exports)
[INFO] [stdout] 79 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] warning[E0133]: call to unsafe function `mlua::Lua::init_from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]              --> src/lib.rs:62:1
[INFO] [stderr]               |
[INFO] [stderr]            62 | #[mlua::lua_module]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `midplay_lua`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> src/lib.rs:62:1
[INFO] [stderr]               |
[INFO] [stderr]            62 | #[mlua::lua_module]
[INFO] [stderr]               | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 63 ~ unsafe(fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 |     let native = lua.create_table()?;
[INFO] [stdout] ...
[INFO] [stdout] 78 |     Ok(exports)
[INFO] [stdout] 79 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mlua::Lua::init_from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.73s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.5.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: midplay-lua v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking midplay-lua v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 63 ~ unsafe(fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 |     let native = lua.create_table()?;
[INFO] [stdout] ...
[INFO] [stdout] 78 |     Ok(exports)
[INFO] [stdout] 79 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mlua::Lua::init_from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `midplay-lua` (lib test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 63 ~ unsafe(fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 |     let native = lua.create_table()?;
[INFO] [stdout] ...
[INFO] [stdout] 78 |     Ok(exports)
[INFO] [stdout] 79 ~ })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mlua::Lua::init_from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/lib.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | / fn midplay_lua(lua: &Lua) -> LuaResult<LuaTable> {
[INFO] [stdout] 64 | |     let native = lua.create_table()?;
[INFO] [stdout] 65 | |     native.set("play_midi", lua.create_function(native_play_midi)?)?;
[INFO] [stdout] 66 | |     native.set("is_midi_playing", lua.create_function(native_is_midi_playing)?)?;
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |     Ok(exports)
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `midplay-lua` (lib) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8", kill_on_drop: false }`
[INFO] [stdout] 709c37158cda3273bc2c77e67bfc0ab6600ebdae5c073bda73826eac12f42ff8
